import axios from '@/utils/request'
const base = '/operation'

export function listConsumeDetails(params) {
  return axios({
    url: `${base}/consumeDetails`,
    method: 'get',
    params: params
  })
}

export const downloadConsumeDetails = params => {
  return axios.get(`${base}/consumeDetails/excel`, { params: params, responseType: 'arraybuffer' })
}
